<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d {
            width: 1000px;
            height: 212px;
            margin: 0 auto;
        }
        .box {
            width: 300px;
            height: 212px;
            position: relative;
            float: left;
            margin-left: 20px;
        }
        .box img {
            width: 300px;
        }
        .box .title {
            position: absolute;
            left: 15px;
            bottom: 20px;
            z-index: 2;
            width: 260px;
            color: #fff;
            font-size: 20px;
            font-weight: 700;
        }
        .mask {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(
             transparent, 
             rgba(0,0,0,0.5));
            opacity: 0;
            transition: all .5s;
        }
        .box:hover .mask {
            opacity: 1;
            transform: scale(1.1);
        }
        .box:hover img {
            transform: scale(1.1);
        }
    </style>
</head>
<body>
    <div class="d">
    <div class="box">
        <img src="../day7-29/img/product.jpeg" alt="">
        <div class="title">OceanStor Pacifi 海量存储斩获2021 Interop金奖</div>
        <div class="mask"></div>
    </div>
    <div class="box">
        <img src="../day7-29/img/huawei1.jpeg" alt="">
        <div class="title">OceanStor Pacifi 海量存储斩获2021 Interop金奖</div>
        <div class="mask"></div>
    </div>
    <div class="box">
        <img src="../day7-29/img/huawei2.jpeg" alt="">
        <div class="title">OceanStor Pacifi 海量存储斩获2021 Interop金奖</div>
        <div class="mask"></div>
    </div>
</div>
</body>
</html>